package pkev.xgrapher.transformation;

import pkev.xgrapher.common.entity.Coordinates;

import java.util.HashMap;
import java.util.Map;

public abstract class AbstractTransformation {
    private Map<String,String> params;

    public abstract Coordinates doTransformation(int x, int y);

    public Map<String, String> getParams() {
        if (params == null) {
            params = new HashMap<String, String>();
        }
        return params;
    }

    public void setParams(Map<String, String> params) {
        this.params = params;
    }
}
